package com.yunliuchain.examination.common.config;

import com.yunliuchain.examination.common.bean.Sms;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2017/12/26.
 */
@Configuration
@ConfigurationProperties(prefix = "yunBanDan")
public class YunBanDanProperties {


    private String appPicUrl;

    private String appPicPath;

    //服务费
    private BigDecimal serviceCost;
    /**
     * 验证码有效时间(秒)
     */
    private int codeTimeout;


    private Sms sms;

    public int getCodeTimeout() {
        return codeTimeout;
    }

    public void setCodeTimeout(int codeTimeout) {
        this.codeTimeout = codeTimeout;
    }

    public BigDecimal getServiceCost() {
        return serviceCost;
    }

    public void setServiceCost(BigDecimal serviceCost) {
        this.serviceCost = serviceCost;
    }

    public Sms getSms() {
        return sms;
    }

    public void setSms(Sms sms) {
        this.sms = sms;
    }


    public String getAppPicUrl() {
        return appPicUrl;
    }

    public void setAppPicUrl(String appPicUrl) {
        this.appPicUrl = appPicUrl;
    }

    public String getAppPicPath() {
        return appPicPath;
    }

    public void setAppPicPath(String appPicPath) {
        this.appPicPath = appPicPath;
    }

    @Override
    public String toString() {
        return "YunBanDanProperties{" +
                ", appPicUrl='" + appPicUrl + '\'' +
                ", appPicPath='" + appPicPath + '\'' +
                '}';
    }
}
